package com.wuhuahe.learning.lagou.servie.feign.api;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableFeignClients(value = {"com.wuhuahe.learning.lagou.servie.feign.api"})
@ComponentScan({"com.wuhuahe.learning.lagou.servie.feign.api"})
public class FeignClientConfig {

    @Bean
    public Logger.Level feignLevel(){
        return Logger.Level.FULL;
    }
}
